<!DOCTYPE html>
<html>
<head>
	<title>{$post_title} {$site_name}</title>
	<meta name="keywords" content="{$post_keywords}" />
	<meta name="description" content="{$post_excerpt}">
	<tc_include file="Public:head" />
	<style>
			#article_content img{height:auto !important}
			#article_content {word-wrap: break-word;}
    		.btn {margin-top: 33px;}
		</style>
</head>
<body class="">
	<tc_include file="Public:nav" />
	<div class="container tc-main">
		<div class="row">
			<div class="span9">

				<div class="tc-box first-box article-box">
					<h2>{$post_title}</h2>
					<div class="article-infobox">
						<span>{$post_date} by {$user_nicename|default=$user_login}</span>
						<span>
							<a href="javascript:;"> <i class="fa fa-eye"></i>
								<span>{$post_hits}</span>
							</a>
							<a href="{:U('article/do_like',array('id'=>
								$object_id))}" class="js-count-btn"> <i class="fa fa-thumbs-up"></i>
								<span class="count">{$post_like}</span>
							</a>
							<a href="{:U('user/favorite/do_favorite',array('id'=>
								$object_id))}" class="js-favorite-btn" data-title="{$post_title}" data-url="{:leuu('article/index',array('id'=>$tid,'cid'=>$term_id))}" data-key="{:sp_get_favorite_key('posts',$object_id)}">
								<i class="fa fa-star-o"></i>
							</a>
						</span>
					</div>
					<hr>
					<div id="article_content">{$post_content}</div>
					<if condition="!empty($post_source)">
						<div> <b>注：本文转载自{$post_source}，转载目的在于传递更多信息，并不代表本网赞同其观点和对其真实性负责。如有侵权行为，请联系我们，我们会及时删除。  </b> 
						</div>
					</if>
					<div>
						<if condition="!empty($prev)">
							<a href="{:leuu('article/index',array('id'=>
								$prev['tid'],'cid'=>$prev['term_id']))}" class="btn btn-primary pull-left">上一篇
							</a>
						</if>
						<if condition="!empty($next)">
							<a href="{:leuu('article/index',array('id'=>
								$next['tid'],'cid'=>$next['term_id']))}" class="btn btn-warning pull-right">下一篇
							</a>
						</if>
						<script type="text/javascript" src="__TMPL__Public/js/qrcode.min.js"></script>
						<div id="qrcode" style="width: 100px;margin:0 auto"></div>
						<script type="text/javascript">
                        var qrcode = new QRCode(document.getElementById("qrcode"), {
                        width : 100,
                        height : 100
                        });
                        function makeCode () {		
                        qrcode.makeCode("http://{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}");
                        }
                        makeCode();
                        </script>
						<div class="clearfix"></div>
					</div>
					{:hook('comment',array(
		    		'post_id'=>$object_id,
		    		'post_table'=>'posts',
		    		'post_title'=>$post_title
		    	))}
				</div>

				<php>$ad=sp_getad("portal_article_bottom");</php>
				<if condition="!empty($ad)">
					<div class="tc-box">
						<div class="headtitle">
							<h2>赞助商</h2>
						</div>
						<div>{$ad}</div>
					</div>
				</if>

			</div>
			<div class="span3">
			   <div class="tc-box">
				<div class="headtitle">
					<h2>关注我们</h2>
				</div>
				 <div class="erweima">
				   <img src="__TMPL__Public/images/qrcode.png" />
				  </div>
				<h4 style="text-align:center ; ">请关注我们，第一时间收看高清直播</h4>
			  </div>
        <!-- JiaThis Button BEGIN -->
		<div id="ckepop">
          <span class="jiathis_txt">分享到：</span>
           <a class="jiathis_button_weixin">微信</a> 
           <a href="http://www.jiathis.com/share"  class="jiathis jiathis_txt jiathis_separator jtico jtico_jiathis" target="_blank">更多</a>
           <a class="jiathis_counter_style"></a> </div> 
           <script type="text/javascript" src="http://v3.jiathis.com/code/jia.js?uid=1" charset="utf-8"></script>
        </div> 
        <!-- JiaThis Button END -->

	</div>

		    
	</div>
    <tc_include file="Public:footer"/>
	<tc_include file="Public:scripts"/>
</body>
</html>